package com.sl.biz.modular.workflow.dao.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sl.common.pojo.CommonOrgEntity;
import jakarta.persistence.Entity;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@TableName("work_flow_instance")
@Entity(name = "work_flow_instance")
public class WorkflowInstanceDO extends CommonOrgEntity {

    private String workflowId;


    /**
     * 状态 0.未开始 1.进行中 2.已完成 3.失败
     */
    private String status;

    /**
     * tid
     */
    private String tid;
    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

}
